package com.zls.dubbo.service.impl;

import com.zls.dubbo.service.DeviceService;
//自定义降级逻辑
public class MyDerviceMock implements DeviceService {
    @Override
    public String showDevice(Integer id) {
        System.out.println("远程服务有问题,来到了我这里");
        return "i am is mock function";
    }
}
